<?php

namespace app\special\controller;

use app\common\controller\Api;
use app\common\logic\Common;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Style\Alignment;
use PhpOffice\PhpSpreadsheet\Style\Border;
use PhpOffice\PhpSpreadsheet\Style\Fill;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
use app\special\service\Excel;


class Timing extends Api
{

  protected $noNeedLogin = '*';
    protected $noNeedRight = '*';
    protected $layout = '';


    public function nourishment()
    {
        $data = $this->request->param();
        $param = [
            'customer_id' => 259,
        /*    'itemid' => $data['itemid']*/
        ];
        $url = "zteyidatalist";
        $list = Common::getBiaozhunLists($param, $url);
        $jsonList = json_encode($list);
        // 返回 JSON 数据给前端1
        return $jsonList;
    }



}
